package com.excellence.service;

import com.excellence.pojo.Problem;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author 沈秉璋
 * @ClassName ProblemService
 * @Description TODO
 * @date 2024/4/8 10:42
 * @Version 1.0
 */

public interface ProblemService {
    int deleteByKey(Long id);
    int deleteByPrimaryKey(Long id);

    int insert(Problem record,  List<MultipartFile> files);

    int insertSelective(Problem record,  List<MultipartFile> files);

    Problem selectByPrimaryKey(Long id);

    List<Problem> selectAll();

    int updateByPrimaryKeySelective(Problem record,  List<MultipartFile> files);

    int updateByPrimaryKey(Problem record,  List<MultipartFile> files);
}
